
export function getLabelByValue(options, value) {
    const found = options.find(item => item.value === value);
    return found?.label || value;
}
export function getStyleByValue(options, value) {
    const found = options.find(item => item.value === value);
    return found?.style || value;
}